package com.sskj.jd.domain.entity;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sskj.core.entity.BaseEntity;

@Table(name = "JD_JianDuJiLuCJJG")
@Entity
public class JianDuJiLuCJJG extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@JsonIgnore
	@ManyToOne(cascade = CascadeType.REFRESH, fetch = FetchType.LAZY)
	@JoinColumn(name = "jdjlId", nullable = true)
	private JianDuJiLu jdjl;

	/*** 是否选择 */
	private Boolean checked = false;

	private String jglx = "";

	private String value = "";

	// ** 机构名称 */
	private String orgName = "";

	// ** 参建方ID */
	private String engOrgId = "";

	// 排序
	private Integer sort = 0;

	/**
	 * @return the jdjl
	 */
	@JSONField(serialize = false)
	public JianDuJiLu getJdjl() {
		return jdjl;
	}

	/**
	 * @param jdjl
	 *            the jdjl to set
	 */
	public void setJdjl(JianDuJiLu jdjl) {
		this.jdjl = jdjl;
	}

	/**
	 * @return the orgName
	 */
	public String getOrgName() {
		return orgName;
	}

	/**
	 * @return the engOrgId
	 */
	public String getEngOrgId() {
		return engOrgId;
	}

	/**
	 * @param orgName
	 *            the orgName to set
	 */
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	/**
	 * @param engOrgId
	 *            the engOrgId to set
	 */
	public void setEngOrgId(String engOrgId) {
		this.engOrgId = engOrgId;
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value
	 *            the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * @return the checked
	 */
	public Boolean getChecked() {
		return checked;
	}

	/**
	 * @return the jglx
	 */
	public String getJglx() {
		return jglx;
	}

	/**
	 * @param checked
	 *            the checked to set
	 */
	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	/**
	 * @param jglx
	 *            the jglx to set
	 */
	public void setJglx(String jglx) {
		this.jglx = jglx;
	}

	/**
	 * @return the sort
	 */
	public Integer getSort() {
		return sort;
	}

	/**
	 * @param sort
	 *            the sort to set
	 */
	public void setSort(Integer sort) {
		this.sort = sort;
	}

}
